<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <!--输入文本:<input type="text" v-model="message">{{message}}-->
    性别：
    <input type="radio" name="sex" value="男" v-model="zhangsan">男
    <input type="radio" name="sex" value="女" v-model="zhangsan">女

    <p>
        选中了谁：{{zhangsan}}
    </p>
</div>

<!--导入Vue.js-->

<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

<script>

    var vm = new Vue({
        el: "#app",
        data: {
            zhangsan: ''
        }

    });
</script>
</body>
</html>